﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="RoomList.aspx.cs" Inherits="TicketMovie.Admin.WebForm11" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="message message-error" runat="server" id="message_error" visible="false">
        <h6>Error</h6>
        <p>You can't delete this film!</p>
        <a href="#" title="Close this message" class="close icon icon_close"></a>
    </div>
    <div class="message message-success" runat="server" id="message_thanhcong" visible="false">
        <h6>Succesful</h6>
        <p>Deleted</p>
        <a href="#" title="Close this message" class="close icon icon_close tooltip"></a>
    </div>
<table cellspacing="0" class="listTable" id="postList">
					<!-- Thead -->
					<thead>
						<tr>
                            <th class="first"><div></div></th>                            
							<th><a href="#" title="Post">Code Room</a></th>
							<th><a href="#" title="Author">Name</a></th>
							<th><a href="#" title="Categories">Type</a></th>
                            <th><a href="#" title="Categories">Status</a></th>
                            <th><a href="#" title="Categories">Num_Row</a></th>
                            <th><a href="#" title="Categories">Num_Colum</a></th>
                            <th><a href="#" title="Romm">Note</a></th>
							<th class="last"><a href="#" title="Date">Option</a></th>
						</tr>
					</thead>
					<!-- /Thead -->
					<!-- Tfoot -->
					
					<!-- /Tfoot -->
					<!-- Tbody -->
					<tbody>
                    <asp:Repeater ID="RepeaterRoom" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td></td>
							<td><%# Eval("code_room")%></td>
							<td><%# Eval("name_room")%></td>
                            <td><%# Eval("type_room")%> </td>
                            <td><%# Eval("status")%></td>
                            <td><%# Eval("number_row")%></td>
							<td><%# Eval("number_column")%></td>
                            <td><%# Eval("ghichu")%></td>
							<td class="last">
                                <asp:LinkButton ID="LinkButtonEditRoom" runat="server">Edit</asp:LinkButton>  |  
                                <asp:HiddenField ID="HiddenFieldDelRoom" Value='<%# Eval("code_room") %>' runat="server" />
                                <asp:LinkButton ID="LinkButtonXoa" OnClick="LinkButtonDeleteRoom_Click" runat="server" OnClientClick="return confirm('Do you want delete this Room?')">Delete</asp:LinkButton>
                            </td>
						</tr>
                    </ItemTemplate>
                    </asp:Repeater>							
					</tbody>
					<!-- /Tbody -->
				</table>
</asp:Content>
